package com.lazycat.backend.service.impl.account;

import com.lazycat.backend.mapper.UserMapper;
import com.lazycat.backend.service.account.DeleteUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class DeleteUserServiceImpl implements DeleteUserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public void delete(Map<String, Object> map) {
        userMapper.deleteUser(map);
    }
}
